package com.baor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * 商品分类对象 t_separate
 * 
 * @author ruoyi
 * @date 2024-05-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_separate")
public class SeparateVo//
{
    private static final long serialVersionUID = 1L;

    /** 商品分类 */
    @TableId(type = IdType.AUTO)
    private Integer separateId;

    /** 分类名称 */
    private String separateName;

    /** 分类图标 */
    private String separateImage;

    /** 类别上级 */
    private String separateSuperior;

    /** 是否启用 */
    private String separateStatus;//IF_TRUE

    /** $column.columnComment */
    private String siteId;

    private Integer delflag;

    @TableField(exist = false)
    private List<SeparateVo> children;

//    @TableField(exist = false)
//    private List<GoodsVo> goodsList;

}
